#ifndef PLAYGAME_H
#define PLAYGAME_H

#include <QMainWindow>
#include "coin.h"

class PlayGame : public QMainWindow
{
    Q_OBJECT
public:
    explicit PlayGame(QWidget *parent = nullptr);
    PlayGame(int);

    /* 重写绘画函数 */
    void paintEvent(QPaintEvent *);

    int configData[4][4];

    Coin *btnArray[4][4];

    int levelNum;

    bool isWin;

signals:
    void buttonBack(void);
};

#endif // PLAYGAME_H
